#pragma once

#include "PPHtmlStatic.h"

// CWndMessage

class CWndMessage : public CPPHtmlStatic
{
	//DECLARE_DYNAMIC(CWndMessage)

public:
	CWndMessage();
	virtual ~CWndMessage();

protected:
	CWnd*	m_pWndParent;

protected:
	DECLARE_MESSAGE_MAP()
public:	
	int Create(CWnd* pWndParent, RECT& rect);
	afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
	afx_msg LRESULT OnNcHitTest(CPoint point);
	afx_msg BOOL OnNcActivate(BOOL bActive);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	virtual BOOL PreTranslateMessage(MSG* pMsg);	
	afx_msg LRESULT OnMouseLeave(WPARAM wParam, LPARAM lParam);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
};


